MultiChoice = function (string) {

	var seed = {};
	
	seed.genXML = function () {
		var self = this;
		var mcstring = "";
		
		mcstring += "<question type=\"multichoice\">\n\t<name>\n\t\t<text>" + self.name + "</text>\n\t<questiontext format=\"html\">\n\t\t<text><![CDATA[" + self.qtexts + "]]> </text>\n\t";
		mcstring += "</questiontext>";
		for(var i = 0; i < self.atexts.length; i++)
		{
			mcstring += "\n\t<answer fraction=\"" + self.fraction[i] + "\">\n\t\t<text>" + self.atexts[i] + "</text>\n\t</answer>";
		}
		mcstring += "\n\t<generalfeedback>" + self.feedback + "</generalfeedback>\n\t<shuffleanswers>1</shuffleanswers>\n\t<answernumbering>'ABCD'</answernumbering>\n</question>";
	};
	
	seed.genGift = function () {
		return "";
	};
	
	seed.genQSD = function () {
		return "";
	};
	
	seed.genPreviewHtml = function () {
		var self = this;
		return template('multi_choice-tmpl', self);
	};
	
	seed.set = function (options) {
		var self = this;
		$.each(options, function (key, value) {
			if (key === 'name') {
				self.name = value;
			} else if (key === 'qtexts') {
				self.qtexts = value;
			} else if (key === 'feedback') {
				self.feedback = value;
			} else if (key === 'fraction') {
				self.fraction = value;
			} else if (key === 'atexts') {
				self.atexts = value;
			}
		});
	};
		
	if (string) {
	
	};
	
	return seed;
};